import request from '@/utils/request'

// 查询大学列列表
export function listTbuniversity(query) {
  return request({
    url: '/apartment/tbuniversity/list',
    method: 'get',
    params: query
  })
}

// 查询大学列详细
export function getTbuniversity(id) {
  return request({
    url: '/apartment/tbuniversity/' + id,
    method: 'get'
  })
}

// 新增大学列
export function addTbuniversity(data) {
  return request({
    url: '/apartment/tbuniversity',
    method: 'post',
    data: data
  })
}

// 修改大学列
export function updateTbuniversity(data) {
  return request({
    url: '/apartment/tbuniversity',
    method: 'put',
    data: data
  })
}

// 删除大学列
export function delTbuniversity(id) {
  return request({
    url: '/apartment/tbuniversity/' + id,
    method: 'delete'
  })
}
